<template>
  <view :style="themeColor">
    <view class="page">
      <view class="flex flex-direction flex-wrap align-stretch benben-position-layout flex chooseLanguage_flex_0">
        <view class='flex flex-direction flex-wrap align-stretch flex-sub chooseLanguage_fd0_0'>
          <view class='flex flex-direction flex-wrap align-stretch chooseLanguage_fd0_0_c0'>
            <view class='flex flex-wrap align-center chooseLanguage_fd0_0_c0_c0'>
              <text class='chooseLanguage_fd0_0_c0_c0_c0'>{{$t('请选择语言')}}</text>
            </view>
            <button class='chooseLanguage_fd0_0_c0_c1' @tap.stop="stateSwitchingFunc(1)"
              v-if=" state!='1'">{{$t('简体（中文）')}}</button><button class='chooseLanguage_fd0_0_c0_c1_1'
              v-if=" state=='1'">{{$t('简体（中文）')}}</button>
            <button class='chooseLanguage_fd0_0_c0_c1' @tap.stop="stateSwitchingFunc(2)"
              v-if=" state!='2'">{{$t('繁体（中文）')}}</button><button class='chooseLanguage_fd0_0_c0_c1_1'
              v-if=" state=='2'">{{$t('繁体（中文）')}}</button>
            <button class='chooseLanguage_fd0_0_c0_c1' @tap.stop="stateSwitchingFunc(3)"
              v-if=" state!='3'">{{$t('English')}}</button><button class='chooseLanguage_fd0_0_c0_c1_1'
              v-if=" state=='3'">{{$t('English')}}</button>
            <view class='flex flex-wrap align-center justify-center chooseLanguage_fd0_0_c0_c4'>
              <button class='chooseLanguage_fd0_0_c0_c4_c0' @tap.stop="handleJumpDiy" data-type="switchTab"
                :data-url="`/pages/tabBar/login/login`">{{$t('确认')}}</button>
            </view>
          </view>
        </view>

      </view>
      <view :style="{height: '642rpx'}"></view>


    </view>
  </view>
</template>
<script>
  export default {
    components: {},


    data() {
      return {
        "state": "1"
      };
    },
    computed: {
      themeColor() {
        return this.$store.getters.themeColor
      },

    },
    watch: {},
    onLoad(options) {

    },
    onUnload() {

    },
    onReady() {

    },
    onShow() {

    },
    onHide() {

    },
    onResize() {

    },
    onPullDownRefresh() {

    },
    onReachBottom(e) {

    },
    onPageScroll(e) {

    },
    methods: {
      //状态切换
      stateSwitchingFunc(type) {
        this.state = type;
      }
    }
  };
</script>
<style lang="scss" scoped>
  .page {
    width: 100vw;
    overflow-x: hidden;
    min-height: calc(100vh - var(--window-bottom));
    background: url(image-path('20.png')) no-repeat;
    background-size: 100% auto;
  }

  .chooseLanguage_flex_0 {
    width: 750rpx;
    height: 642rpx;
    overflow: hidden;
    z-index: 10;
    bottom: calc(50rpx + var(--window-bottom));
  }

  .chooseLanguage_fd0_0_c0_c4_c0 {
    background: rgba(145, 47, 34, 1);
    border-radius: 40rpx;
    width: 520rpx;
    line-height: 80rpx;
    font-size: 32rpx;
    color: rgba(255, 255, 255, 1);
  }

  .chooseLanguage_fd0_0_c0_c4 {
    margin: 24rpx 0rpx 0rpx 0rpx;
  }

  .chooseLanguage_fd0_0_c0_c1_1 {
    border: 1px solid rgba(145, 47, 34, 1);
    background: rgba(255, 255, 255, 1);
    border-radius: 40rpx;
    width: 622rpx;
    line-height: 80rpx;
    font-size: 32rpx;
    color: rgba(145, 47, 34, 1);
    margin: 0rpx 0rpx 40rpx 0rpx;
  }

  .chooseLanguage_fd0_0_c0_c1 {
    border: 1px solid rgba(145, 47, 34, 1);
    background: rgba(255, 255, 255, 1);
    border-radius: 40rpx;
    width: 622rpx;
    line-height: 80rpx;
    font-size: 32rpx;
    color: rgba(51, 51, 51, 1);
    margin: 0rpx 0rpx 40rpx 0rpx;
  }

  .chooseLanguage_fd0_0_c0_c0_c0 {
    color: #333333;
    font-size: 36rpx;
    font-weight: 500;
    line-height: 36rpx;
  }

  .chooseLanguage_fd0_0_c0_c0 {
    margin: 0rpx 0rpx 48rpx 0rpx;
  }

  .chooseLanguage_fd0_0_c0 {
    background: rgba(247, 243, 237, 0.6);
    border-radius: 40rpx;
    background-size: 100% auto;
    padding: 40rpx 32rpx 40rpx 32rpx;
  }

  .chooseLanguage_fd0_0 {
    padding: 0rpx 32rpx 0rpx 32rpx;
  }
</style>
